﻿
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Runtime.Serialization;
using DapperQ.Mapping;
using LightSO.Entity.DataBinding;


namespace LightSO.Entity
{
	/// <summary>
	/// User
	/// </summary>
    //[DataContract]
	[LightSO.ILibrary.Mapping.Table("User")]
	[System.ComponentModel.DataAnnotations.Schema.Table("User")]
	[DataBinding.Company.SqlServer]
	public  partial class User  : EntityBase
	{
		
		[Fieldname("Id")]
		public long Id
		{
			get { return _Id; }
			set { _Id = value; }
		}
		long _Id;

		
		[Fieldname("LoginName")]
		public string LoginName
		{
			get { return _LoginName; }
			set { _LoginName = value; }
		}
		string _LoginName;

		
		[Fieldname("Password")]
		public string Password
		{
			get { return _Password; }
			set { _Password = value; }
		}
		string _Password;

		
		[Fieldname("Name")]
		public string Name
		{
			get { return _Name; }
			set { _Name = value; }
		}
		string _Name;

		
		[Fieldname("IsAdmin")]
		public bool IsAdmin
		{
			get { return _IsAdmin; }
			set { _IsAdmin = value; }
		}
		bool _IsAdmin;

		
		[Fieldname("ParentId")]
		public long ParentId
		{
			get { return _ParentId; }
			set { _ParentId = value; }
		}
		long _ParentId;

		
		[Fieldname("Path")]
		public string Path
		{
			get { return _Path; }
			set { _Path = value; }
		}
		string _Path;

		
		[Fieldname("CreateOn")]
		public DateTime CreateOn
		{
			get { return _CreateOn; }
			set { _CreateOn = value; }
		}
		DateTime _CreateOn;

	}
}


